﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MVC.ApiExplorer;
using System.ComponentModel;

namespace The.controller.belong.to.an.area
{
	public class InAreaController : Controller
	{
		[NonApi]
		public ActionResult Index()
		{
			return View();
		}
		
		[HttpPost]
		[Description("This api is belong to an area and accepts http-post invocation only.")]
		public ActionResult PostData(string msg, int value)
		{
			return Json(new { msg=msg, value=value });
		}
	}
}
